<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        // BigInt
	    // 大整型
        let n = 100n;
		console.log(n,typeof(n));
        //普通整型转大整型
        let m = 123;
		console.log(BigInt(m));
        let y = 3434
        console.log(BigInt(y))
        //更大整数
        let max = Number.MAX_SAFE_INTEGER;
		console.log(max);
		console.log(max+1);
		console.log(max+2);
    </script>
</body>
</html>